<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../common/taglibs.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title>阿金美业</title>
<link rel="stylesheet" type="text/css" href="${ctx }/resource/css/reset.css">
<link rel="stylesheet" type="text/css" href="${ctx }/resource/css/style.css">
<script type="text/javascript" src="${ctx }/resource/js/lib/rem.js"></script>
</head>
<body>
	<section class="aui-flexView">
		<section class="aui-scrollView">
			<div class="aui-datum-box">
				<div class="aui-datum-box-img">
					<div class="bg" style="background-image: url(${vip.user.headimgurl })"></div>
				</div>
				<h2>${vip.user.nickname }<em>
					<c:if test="${vip.sex==1 }">
						<img src="${ctx }/resource/img/icon-bu-008.png" alt="">
					</c:if>
					<c:if test="${vip.sex==0 }">
						<img src="${ctx }/resource/img/icon-bu-009.png" alt="">
					</c:if>
					</em>
				</h2>
			</div>
			<div class="aui-datum-list">
					<!-- 姓名 -->
				<div class="aui-flex">
					<div class="aui-datum-icon">
						<img src="${ctx }/resource/img/icon-bu-005.png" alt="">
					</div>
					<div class="aui-flex-box b-line">
						<h3>姓名：${vip.name }</h3>
					</div>
				</div>
				<!-- 所在店铺 -->
				<div class="aui-flex">
					<div class="aui-datum-icon">
						<img src="${ctx }/resource/img/icon-bu-001.png" alt="">
					</div>
					<div class="aui-flex-box b-line">
						<h3>店铺：${vip.shop.title }</h3>
					</div>
				</div>
				
				<div class="aui-flex">
					<div class="aui-datum-icon">
						<img src="${ctx }/resource/img/icon-bu-age.png" alt="">
					</div>
					<div class="aui-flex-box b-line">
						<h3>年龄：${empty vip.age?待完善:vip.age }</h3>
					</div>
				</div>
				<div class="aui-flex">
					<div class="aui-datum-icon">
						<img src="${ctx }/resource/img/icon-bu-time.png" alt="">
					</div>
					<div class="aui-flex-box b-line">
						<h3>注册时间：${vip.createTime}</h3>
					</div>
				</div>
				<div class="aui-flex">
					<div class="aui-datum-icon">
						<img src="${ctx }/resource/img/icon-bu-remark.png" alt="">
					</div>
					<div class="aui-flex-box">
						<h3>
							<b>店家备注</b>
						</h3>
					</div>
				</div>
				<div class="aui-flex aui-flex-open">
					<div class="aui-flex-box">
						<p>${vip.remark }</p>
					</div>
				</div>
				<a style="margin: 0.15rem auto;" href="updateUser?vipId=${vip.id }" class="pay-btn">修改信息</a>
			</div>
		</section>
	</section>

</body>
</html>